package model.dao.exception;

import org.springframework.dao.DataAccessException;

public class ConstraintViolationException extends DataAccessException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2791482859264205794L;
	private String uniqueField = null;
	
	public ConstraintViolationException(Exception e) {
		super("Constraint restriction", e);
	}
	public String getUniqueField(){
		return uniqueField;
	}
}
